package com.mayee.me.gateway.route;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @description:
 * @author: mayee
 * @create: 2020-12-28 22:16
 **/
@Data
public class RouteEntity implements Serializable {
    private static final long serialVersionUID = -8413718607546998177L;
    private String id;
    private List<PredicateEntity> predicates = new ArrayList<>();
    private List<FilterEntity> filters = new ArrayList<>();
    private Map<String,Object> metadata=new HashMap<>();
    private String uri;
    private int order = 0;

}